package factory_method_pattern.v1;

/**
 * 新增操作类
 * @author ricejson
 */
public class AddOperation extends Operation {
    @Override
    public double getResult() {
        return numA + numB;
    }
}
